#pragma once

const int MAX_BUFFERSIZE0 = 512;
const int MAX_BUFFERSIZE1 = 1024;
const int MAX_BUFFERSIZE2 = 2048;
const int MAX_BUFFERSIZE3 = 4096;
const int MAX_BUFFERSIZE4 = 8192;

const int MAX_C2S_MSGSIZE = MAX_BUFFERSIZE0;
const int MAX_S2C_MSGSIZE = MAX_BUFFERSIZE3;

#define foreach BOOST_FOREACH

#define PREL "*"
#define ENDL "\r\n"

#include <boost/foreach.hpp>
#define AUTO BOOST_AUTO

#include <boost/typeof/typeof.hpp>
#define AUTO BOOST_AUTO
